package com.ling.sbbyyds.entity.users;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 关注用户
 */
@Data
@Table(name = "sbb_user_att")
public class UserAtt {

    @Id
    @ApiModelProperty("关注id")
    private Long attId;

    @ApiModelProperty("进行关注的用户id")
    private Long userId;

    @ApiModelProperty("被关注的用户id")
    private Long beiUserId;

    @ApiModelProperty("关注状态 1.已关注  0.取消关注")
    private Integer state;

    @ApiModelProperty("关注时间")
    private Date time;

}
